<template>
	<view class="container">
		<view class="userInfo">
			<view class="avatar">
				<image src="../../static/images/cjeq.jpg" />
			</view>
			<view class="infoText">
				<view class="grade">普通用户</view>
				<view class="nickname">长江二桥</view>
				<view>uid：2412009569</view>
			</view>
		</view>

		<view class="social-panel">
			<view>
				<image src="../../static/images/good.png" mode="" />
				<text>点赞</text>
			</view>
			<view>
				<image src="../../static/images/comment.svg" mode="" />
				<text>评论</text>
			</view>
			<view>
				<image src="../../static/images/collection.svg" mode="" />
				<text>收藏</text>
			</view>
			<view>
				<image src="../../static/images/transpond_line.png" mode="" />
				<text>转发</text>
			</view>
		</view>

		<view class="works">
			<view class="work">
				<view class="draft">草稿箱</view>
				<view class="my-work">我的作品</view>
			</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style>
.userInfo {
  background-color:white;
  display: flex;
  border: 1px solid #ccc;
}

.avatar {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  margin: 20px 10px;
}
.avatar image{
  height: 90px;
  width: 90px;
  border-radius: 50%;
}
.infoText {
  height: 90px;
  width: 240px;
  margin: 20px 10px;
}
.nickname {
  font-size: 30px;
  font-weight: bolder;
}
.social-panel {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-bottom: 1px solid #ccc;
}
.social-panel view {
  height: 60px;
  width: 40px;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.social-panel view image {
  height: 30px;
  width: 30px;
}
.works {
  width: 100vw;
  height: 100vh;
  background-color: #f6f6f6;
}
.work {
  display: flex;
  width: 100vh;
}
.work view {
  height: 70px;
  width: 170px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin: 10px;
}
</style>